package com.baizhi.service;

import com.baizhi.entity.Product;

import java.util.List;

public interface ProductService {
    List<Product> findAll();
    Product findById(String id);
    void save(Product product);
    void update(Product product);
    void delete(String id);
    List<Product> showAll(String type);
}
